Computer and Modernization ›› 2012, Vol. 1 ›› Issue (9): 222-224.doi: 10.3969/j.issn.1006-2475.2012.09.058

• 应用与开发 • Previous Articles     Next Articles

Construction of Web Database Based on XML

HUANG Yu-yang1, LI Hui-lun2   

  1. 1. School of Bioscience and Bioengineering, South China University of Technology, Guangzhou 510006, China;2. School of Life Sciences, Shandong University of Technology, Zibo 255012, China
  • Received:2012-04-17 Revised:1900-01-01 Online:2012-09-21 Published:2012-09-21

Abstract: In order to extract information and data from Web pages effectively, this paper constructs a database used for collecting data based on XML. The HTML documents are transformed to XHTML and analyzed by the open-source tools JTidy and Dom4j. Data are extracted and saved based on the tag characteristics of XML documents. Finally the data are persisted in the database by the ORM tool-Hibernate.

Key words: XML, Web, data mining, database